function BattleHandler(msg){
    var playerId = msg.playerId;
    var playerName = msg.name;
    UISystem.messageBox(playerName + "打算向你挑战，是否应战？",
        function(){app.getSession().notify(new BattleReplyNotify(playerId,true))},
        function(){app.getSession().notify(new BattleReplyNotify(playerId,false))}
       );
}